
import {createRouter, createWebHistory} from 'vue-router'
import Scan from "../views/Scan.vue";
import Info from "../views/Info.vue";
import MoreInfo from "../views/MoreInfo.vue";


/**@type { import("vue-router").RouteRecordRaw[] }*/
const routes = [
    {
        path: '/',
        name: 'scan',
        component: Scan
    },
    {
        path: '/info',
        name: 'info',
        component: Info
    },
    {
        path: '/more/info',
        name: 'more-info',
        component: MoreInfo
    }
]

export default createRouter({
    history: createWebHistory(),
    routes: routes
})